package com.localjoycommunity.cpdj.project.system.domain;

import com.localjoycommunity.cpdj.framework.aspectj.lang.annotation.Excel;
import com.localjoycommunity.cpdj.framework.web.domain.BaseEntity;
import io.swagger.models.auth.In;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 楼宇对象 building
 *
 * @author leepandar
 * @date 2021-01-19
 */
public class Building extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    private Integer buildingId;

    /**
     * 名称
     */
    @Excel(name = "名称")
    private String buildingName;

    /**
     * 封面
     */
    @Excel(name = "封面")
    private String buildingImg;

    public Integer getBuildingId() {
        return buildingId;
    }

    public void setBuildingId(Integer buildingId) {
        this.buildingId = buildingId;
    }

    public String getBuildingName() {
        return buildingName;
    }

    public void setBuildingName(String buildingName) {
        this.buildingName = buildingName;
    }

    public String getBuildingImg() {
        return buildingImg;
    }

    public void setBuildingImg(String buildingImg) {
        this.buildingImg = buildingImg;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("buildingId", getBuildingId())
                .append("buildingName", getBuildingName())
                .append("buildingImg", getBuildingImg())
                .toString();
    }
}
